package com.graduation.lastproject.dao.home;

import com.graduation.lastproject.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

public interface HomeDao {
    //用户注册
    Integer loginin(Map<String,Object> map);
    //查询用户信息
    User getUserInfo(@Param("loginName")String loginName);
    //查询是否存在该用户
    boolean getUserPhone(String phone);
    //
    Integer updateInfo(Map<String,Object> map);

}
